package com.sunjob.mroresumeproject.service;

import com.sunjob.common.domain.mroresume.CKBus;
import com.sunjob.common.util.MROUtils;
import com.sunjob.mroresumeproject.dao.CKBusMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

@Service

public class CKBusServiceImpl implements CKBusService {

    @Autowired
    CKBusMapper ckBusMapper;

    @Override
    public int querycount(String types) {
        return ckBusMapper.querycount(types);
    }

    @Override
    public List<CKBus> querycheck(int pages, int size,String types) {
        return ckBusMapper.querycheck(pages,size,types);
    }

    @Override
    public List<CKBus> querycheck2(String checkid) {

         return  ckBusMapper.querycheck2(checkid);

    }

    @Override
    public void insertcheck(CKBus ckBus) {
        ckBusMapper.insertcheck(ckBus);
    }


    @Override
    public List<CKBus> querycheckone(Long checkid) {
        return ckBusMapper.querycheckone(checkid);
    }

    @Override
    public void updatecheck(CKBus ckBus) {
        ckBusMapper.updatecheck(ckBus);
    }

    @Override
    public void deletecheck(String checkid) {
         ckBusMapper.deletecheck(checkid);
    }

    @Override
    public void deletecheckone(String s) {
        ckBusMapper.deletecheckone(s);
    }


}
